import { Article } from '@/entity/Article';
import { res } from '@/utils/jsonResult';
import { Essayreq,Essayupdata } from '@/m_req/Essayreq';
import { Token } from '@/m_req/Token'
//文章添加

export interface EssayService {
    Essayadd(Promise:Essayreq,token:Token): Promise<res<null>>; //文章添加
    Essaydelete(Promise: Article): Promise<res<null>> //文章删除
    Essayupdata(Promise: Essayupdata): Promise<res<null>> //文章修改
}